<!DOCTYPE html>
<html>
{include file="public/head" /}
<body>
<div class="box-body">
        <form id="myform" class="myform form-horizontal"  method="post">
          <div class="row">
            <div class="col-md-12">
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-title">词库名称：</span>
                <span class="form-left-title-hide"></span>                
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control" name="title" value="{$info.title|default=''}"  autocomplete="off"  placeholder="填写中文" >
              </div>              
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-title">词库标识：</span>
                <span class="form-left-title-hide"></span>                
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control" name="name" value="{$info.name|default=''}"  autocomplete="off"  placeholder="必须填写，请输入英文字母或者数字" >
              </div>   
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-title">词库内容：</span>
                <span class="form-left-title-hide"></span>
                </div>
                <!-- /btn-group -->
               <textarea name="txt" class="form-control" style="min-height:300px" placeholder="每行一个，不要有空行，格式：要替换：替换后，不允许出现特殊符号。">{$info['txt']|default=''}</textarea>
              </div>                                                
            </div> 
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">词库排序：</span>
                </div>
                <!-- /btn-group -->
          <select name="order" class="form-control select2 select2-hidden-accessible" style="width: 100%;" tabindex="-1" aria-hidden="true">          <option value="0" {eq name="info.order" value="2" }selected{/eq}>默认按词库内容排列</option>
          <option value="1" {eq name="info.order" value="1" }selected{/eq}>按字符长度长到短排列</option>
          <option value="2" {eq name="info.order" value="2" }selected{/eq}>按字符长度短到长排列</option>
                </select>
              </div>                       
          </div>
          <!-- /.row -->
        <div class="box-footer {notempty name=":request()->param('dialog')"}hidden{/notempty} layer-footer">
          <div  class="footer-btn">
               <button type="submit" class="btn btn-success btn-embossed">确定</button>
               <button type="reset" class="btn btn-default btn-embossed">重置</button>
               {notempty name=":request()->param('dialog')"}
               <button type="reset" class="btn btn-primary btn-embossed btn-close" onClick="layer.closeAll();"> 关闭</button>
               {/notempty}
            </div>
       </div>
       <!-- /.box-footer -->     
</form>
</div>
<!-- /.box-body -->    
{include file="public/footer" /}
<script type="text/javascript">
$(document).ready(function(){
	zanpian.cms.config();
});	
</script>
</body>
</html>
